﻿//===============================================================================
// Microsoft Innovation Centre - Western Europe
// Copyright (c) 2008 Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===============================================================================
// The example companies, organizations, products, domain names,
// e-mail addresses, logos, people, places, and events depicted
// herein are fictitious.  No association with any real company,
// organization, product, domain name, email address, logo, person,
// places, or events is intended or should be inferred.
//===============================================================================

using System;
using System.Collections.ObjectModel;
using Microsoft.WVB.Silverlight.Infrastructure;

namespace Microsoft.WVB.Framework.Entities
{
    public class Program : BaseEntity
    {
        public Collection<ProgramProperty> Properties
        {
            get { return _Properties; }
            set { _Properties = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Properties)); }
        }
        private Collection<ProgramProperty> _Properties = new Collection<ProgramProperty>();

        public string Language
        {
            get { return _Language; }
            set { _Language = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Language)); }
        }
        private string _Language;

        public Collection<Category> Categories
        {
            get { return _Categories; }
            set { _Categories = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Categories)); }
        }
        private Collection<Category> _Categories = new Collection<Category>();

        public string EpisodeTitle
        {
            get { return _EpisodeTitle; }
            set { _EpisodeTitle = value; OnPropertyChanged(this.GetPropertySymbol(o => o.EpisodeTitle)); }
        }
        private string _EpisodeTitle;

        public string ShortTitle
        {
            get { return _ShortTitle; }
            set { _ShortTitle = value; OnPropertyChanged(this.GetPropertySymbol(o => o.ShortTitle)); }
        }
        private string _ShortTitle;


        public string Description
        {
            get { return _Description; }
            set { _Description = value; OnPropertyChanged(this.GetPropertySymbol(o => o.Description)); }
        }
        private string _Description;


        public string ShortDescription
        {
            get { return _ShortDescription; }
            set { _ShortDescription = value; OnPropertyChanged(this.GetPropertySymbol(o => o.ShortDescription)); }
        }
        private string _ShortDescription;


        public Uri LowResolutionLink
        {
            get { return _LowResolutionLink; }
            set { _LowResolutionLink = value; OnPropertyChanged(this.GetPropertySymbol(o => o.LowResolutionLink)); }
        }
        private Uri _LowResolutionLink;


        public Uri HighResolutionLink
        {
            get { return _HighResolutionLink; }
            set { _HighResolutionLink = value; OnPropertyChanged(this.GetPropertySymbol(o => o.HighResolutionLink)); }
        }
        private Uri _HighResolutionLink;

    }
}
